Skip to content

Instantly share code, notes, and snippets.

@krisek
krisek / alert.rules.yml
Last active October 13, 2026 21:39
Prometheus alert rules for node exporter
groups:
- name: node_exporter_alerts
rules:
- alert: Node down
expr: up{job="monitoring-pi"} == 0
for: 2m
labels:
severity: warning
annotations:
title: Node {{ $labels.instance }} is down
@appgurueu
appgurueu / b3d2gltf.py
Created October 13, 2026 21:08
Basic b3d to glTF converter
#!/usr/bin/env python3
"""b3d (Blitz3D) -> glTF 2.0 converter.
An AI-generated Python port of modlib's Lua converter (https://github.com/appgurueu/modlib,
b3d.lua), with some robustness fixes:
* duplicate keyframes are merged instead of rejected,
* quaternions (node rotations & rotation keys) are normalized,
* bind matrix chains accumulate through *all* nodes below the mesh node
(modlib only multiplies transforms of bone nodes),
* >4 bone influences are sorted by weight so the strongest land in JOINTS_0,
sm_cvarlist /file
--------------
_autosave : cmd : : Autosave
_autosavedangerous : cmd : : AutoSaveDangerous
_bugreporter_restart : cmd : : Restarts bug reporter .dll
_fov : 0 : , "cl", "launcher" : Automates fov command to server.
_record : cmd : , "norecord" : Record a demo incrementally.
_resetgamestats : cmd : , "sv" : Erases current game stats and writes out a blank stats file
_restart : cmd : : Shutdown and restart the engine.
achievement_debug : 0 : , "cheat", "rep", "cl" : Turn on achievement debug msgs.
@jdoss
jdoss / LUKS_and_TPM2_with_Fedora.md
Last active October 13, 2026 21:30
Decrypt LUKS volumes with a TPM on Fedora Linux

Decrypt LUKS volumes with a TPM on Fedora Linux

This guide allows you to use the TPM on your computer to decrypt your LUKS encrypted volumes. If you are worried about a cold boot attack on your hardware please DO NOT use this guide with your root volume!

Preflight Checks

Verify that you have a TPM in your computer:

# systemd-cryptenroll --tpm2-device=list
PATH DEVICE DRIVER
@angelo-swe
angelo-swe / repo-series.md
Last active October 13, 2026 21:23
The Repo List — every repo from my series, kept updated

The Repo List

Every repo from my series, best ones first. I keep this same link updated — save it.

Follow me on Instagram for the next one: @angelotrifanoff.ai


REA (Reverse Engineer Anything) — let Claude Code see how any app works

https://github.com/morluto/rea (MIT, ★100K+)

@tom-ricci
tom-ricci / guide.md
Last active October 13, 2026 21:22 — forked from mcollina/guide.md
Configuring minimum release age across npm, pnpm, and yarn

Configuring minimum release age across npm, pnpm, yarn, and bun

Setting a minimum release age (a "cooldown") on dependencies is a cheap, high-leverage defense against supply-chain attacks. Most malicious package versions are detected and yanked within hours, so a 24-hour delay filters out the smash-and-grab incidents (axios 1.14.1, ua-parser-js, Solana web3.js, etc.).

All four major Node.js package managers now support this, but each one used a different name and a different unit. Here is what you need.

Minimum versions

Tool Setting Unit Introduced in
@ogzhanolguncu
ogzhanolguncu / SKILL.md
Created October 4, 2026 18:54
socratic-code-mentor: a Claude Code skill for learning by building. You write the core, the LLM mentors and does the grunt work. Install: save as ~/.claude/skills/socratic-code-mentor/SKILL.md
name socratic-code-mentor
description Mentor a user who builds a project to learn how it works. They write the core; you do all other work and keep it fun. Use when the user says "teach me", "guide me", "mentor me", "hints only", "no spoilers", "Socratic", or "help me learn X by building it", or when a project file says the project is for learning. Do not use for normal feature work. Do not use when the first request is "just fix it" or "write it for me".
@kitakitaaura
kitakitaaura / atsutot.md
Created October 13, 2026 21:06
Atsumaru Trick or Trade autoplay bot

Trick or Trade Autoplay (bookmarklet)

Estimated win rate: ~55-60%

Auto plays Haunt matches on atsu.moe/halloween. It reads your hand each round, waits 2 seconds, plays a card, and starts a new match 5 seconds after each one ends. It keeps going until you click the bookmark again.

Install

  1. Create a new bookmark in your browser (any name, e.g. Atsu Autoplay).
@mrdgo
mrdgo / hyprland.lua
Last active October 13, 2026 21:07
Hyprland tricks
-- Number 1: swap monitors (I only ever have two monitors at max, might break if you have more)
hl.bind(mainMod .. " + G", function()
local mons = hl.get_monitors()
local names = {}
for i, v in ipairs(mons) do
if i <= 2 then
names["monitor" .. i] = v.name
end
end
https://maps.googleapis.com/maps/api/js?key=AIzaSyAOVYRIgupAurZup5y1PRh8Ismb1A3lLao&libraries=places&callback=initMap